package com.wl.user.login.biz;

import com.wl.entity.Lvuser;

import java.util.List;

public interface ILvuserBiz {
    void register(String head, String uname, String zhanghao, String password, String email);

    boolean login(String head,String zhanghao, String password);

    Lvuser findByZhanghao(String zhanghao);

    Lvuser findByEmail(String email);

    List<Lvuser> selectByZhanghao(String zhanghao);

    int updateBasicInfo(String zhanghao, String uname, Integer gender, String birthday, String bio);

    int updateHead(String zhanghao, String head);

    int updateEmail(String zhanghao, String email);

    int updatePassword(String zhanghao, String newPassword);

    int deleteZhanghao(String zhanghao,String password);

    List<Lvuser> getBatchUserInfo(List<Integer> uids);

}
